﻿using AutoMapper;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WomanMotion.WebApi.Infrastructure.YitId;
using WomanMotion.WebApi.Model.Dtos.Action;
using WomanMotion.WebApi.Model.Dtos.Controller;
using WomanMotion.WebApi.Model.Entitys;
using WomanMotion.WebApi.Repository.IRepository;
using WomanMotion.WebApi.Repository.Repository;
using WomanMotion.WebApi.Service.IService;

namespace WomanMotion.WebApi.Service.Service
{
    public class ActionsService : BaseCRUDService<Actions, ActionsVM, UpdateActionsDTO, CreatedActionsDTO>, IActionsService
    {
        private readonly IActionsRepository _actionsRepository;

        public ActionsService(ILogger<ActionsService> logger, IMapper mapper, IActionsRepository actionsRepository, IHttpContextAccessor httpContext) : base(logger, mapper, actionsRepository, httpContext)
        {
            _actionsRepository = actionsRepository;
        }
    }
}